package com.sell.service;

import com.sell.dto.OrderDTO;

/**
 * @author: megan
 * @eMail: meganmail@vip.qq.com
 * @date: 2018/12/7 13:57
 * @version: v1.0
 * @description: 买家
 */
public interface BuyerService {

    /**
     * 查询一个订单
     *
     * @param openid
     * @param orderId
     * @return
     */
    OrderDTO findOrderOne(String openid, String orderId);

    /**
     * 取消订单
     *
     * @param orderDTO
     * @return
     */
    OrderDTO cancelOrder(OrderDTO orderDTO,String orderId);
}
